public class Test {
    public static void main(String[] args) {
        MyArray myArray1 = new MyArray();
        myArray1.setArray(0,"abc");
        String ret = (String) myArray1.getPos(0);
        
    }
    public static void main3(String[] args) {
        Integer a = 200;
        Integer b = 200;

    }
    public static void main2(String[] args) {
        //拆箱
        //手动
        Integer i = Integer.valueOf(100);
        int a = i;
        System.out.println(a);
        //自动
        int b = i.intValue();
        System.out.println(b);
    }
    public static void main1(String[] args) {
        //装箱
        //方法一：（手动）
        int a = 10;
        System.out.println(Integer.valueOf(a));
        //方法二：（自动）
        Integer aa = a;
        System.out.println(aa);
    }
}
